/**
 * 接口列表文件
 */
export default {
	/** 公共 ↓ **/
	common: {
		wxLogin: {
			url: '/wxLogin',
			auth: false,
			method: "POST",
			//desc 小程序授权接口
		},
		getUserInfo: {
			url: '/getInformation',
			auth: true,
			method: "GET",
			//desc 获取用户信息
		},
		getWechatMobile: {
			url: 'auth/wechatMobile',
			auth: false,
			method: "GET",
			//desc 小程序获取手机号接口
		},
		enterpriseOfficial: {
			url: 'index/enterpriseOfficial',
			auth: false,
			method: "GET",
		},
		userVipList: {
			url: '/getUserVipList',
			auth: false,
			method: "GET",
		},
		 
		getInviteNumber: {
			url: '/getInviteNumber',
			auth: false,
			method: "GET",
		},
		getAggregateCommissionRank: {
			url: '/getAggregateCommissionRank',
			auth: false,
			method: "GET",
		},
		getUserFinanceList:{
			url: '/getUserCommissionList',
			auth: false,
			method: "GET",
		},
		horsemanRequestWithdrawal:{
			url: '/userRequestWithdrawal',
			auth: false,
			method: "GET",
		}
	},
	goods: {
		getCommoditySpecs: {
			url: "/getCommoditySpecs",
			auth: true,
			method: "GET",
		},
		//商品评论
		newEvaluate: {
			url: '/newEvaluate',
			auth: true,
			method: "GET",
		},
		shoppingTrolleyAdd: {
			url: '/ShoppingTrolleyAdd',
			auth: true,
			method: "GET",
		},
		//获取最新的一条评论
		newestEvaluate: {
			url: '/newestEvaluate',
			auth: true,
			method: "GET",
		},
		getLikeCommodity: {
			url: '/getLikeCommodity',
			auth: false,
			method: "GET",
		},
		getSeckillList: {
			url: '/getSeckillList',
			auth: false,
			method: "GET",
		},
		//积分商品
		getIntegralCommodity: {
			url: '/getIntegralCommodity',
			auth: false,
			method: "GET",
		},
		getEvaluates: {
			url: '/getEvaluates',
			auth: false,
			method: "GET",
		}
	},
	cart: {
		ShoppingTrolleyFinds: {
			url: '/ShoppingTrolleyFinds',
			auth: true,
			method: "GET",
		}
	},
	address: {
		MemberAddSite: {
			url: "/MemberAddSite",
			auth: true,
			method: "GET",
		},
		addLst: {
			url: "/MemberListSite",
			auth: true,
			method: "GET",
		},
		saveAddress: {
			url: "/MemberRectifySite",
			auth: true,
			method: "GET",
		},
		delAddress: {
			url: "/MemberDeleteSite",
			auth: true,
			method: "GET",
		},
		getDefaultSite: {
			url: "/getDefaultSite",
			auth: true,
			method: "GET",
		},
		getStationList: {
			url: '/getStationList',
			auth: false,
			method: 'GET'
		}
	},
	order: {
		//普通订单下单
		createOrder: {
			url: "/createOrder",
			auth: true,
			method: "GET",
		},
		//支付
		wxPay: {
			url: "/toPayHtml",
			auth: true,
			method: "GET",
		},
		//创建积分订单
		createIntegralOrder: {
			url: "/createIntegralOrder",
			auth: true,
			method: "GET",
		},
		//创建抢购订单
		createPanicBuyingOrder: {
			url: "/createPanicBuyingOrder",
			auth: true,
			method: "GET",
		},
		queryStatusOrder: {
			url: '/queryStatusOrder',
			auth: true,
			method: 'GET'
		},
		getStatusOrderCount: {
			url: '/getStatusOrderCount',
			auth: true,
			method: 'GET'
		},
		//未付款订单关闭
		setCloseOrder: {
			url: '/setCloseOrder',
			auth: true,
			method: 'GET'
		},
		shoppingTrolleyDelete: {
			url: '/ShoppingTrolleyDelete',
			auth: true,
			method: 'GET'
		},
		//积分订单
		queryIntegralOrder: {
			url: '/queryIntegralOrder',
			auth: true,
			method: 'GET'
		},
		//取消订单 已付款订单取消
		setCancelOrder: {
			url: '/setCancelOrder',
			auth: false,
			method: 'GET'
		},
		//余额支付
		balancePayOrder: {
			url: '/balancePayOrder',
			auth: false,
			method: 'GET'
		},
		//0元订单支付
		noAmountPayOrder: {
			url: '/noAmountPayOrder',
			auth: false,
			method: 'GET'
		},
		//微信充值
		payBalance: {
			url: '/payBalance',
			auth: false,
			method: 'GET'
		},
		//计算订单金额
		advanceCreateOrder: {
			url: "/advanceCreateOrder",
			auth: true,
			method: "GET",
		},
		//获取骑手信息
		getHorsemanDetails: {
			url: "/getHorsemanDetails",
			auth: true,
			method: "GET",
		},
		//设置订单 异常/签收
		setUserOrderStatus: {
			url: '/setUserOrderStatus',
			auth: false,
			method: "GET",
		}
	},
	home: {
		getHomePage: {
			url: '/getHomePage',
			auth: false,
			method: "GET",
		},
	},
	category: {
		categoryLst: {
			url: '/getCategory',
			auth: false,
			method: "GET",
		},
		categoryById: {
			url: '/getCommoditySearch',
			auth: false,
			method: "GET",
		}
	},
	coupon: {
		getCouponList: {
			url: '/getCouponList',
			auth: false,
			method: "GET",
		},
		buyCoupon: {
			url: '/buyCoupon',
			auth: true,
			method: "GET",
		},
		getMyCouponList: {
			url: '/getMyCouponList',
			auth: true,
			method: "GET",
		},
		payCoupon: {
			url: '/payCoupon',
			auth: true,
			method: "GET",
		},
		getUsableCoupon: {
			url: '/getUsableCoupon',
			auth: false,
			method: 'GET'
		}
	},
	integral: {
		getIntegralRecord: {
			url: '/getIntegralRecord',
			auth: true,
			method: "GET",
		},
		getFinanceList: {
			url: '/getUserFinanceList',
			auth: true,
			method: "GET",
		},
		beforehandPay: {
			url: '/beforehandPay',
			auth: false,
			method: "GET",
		}
	},
	//推广
	generalize: {
		getUserWxCode: {
			url: '/getUserWxCode',
			auth: false,
			method: "GET",
		}
	}
};

